package main.java.ERMDE.views;

import java.util.List;

import javax.swing.JPanel;

import main.java.ERMDE.controllers.IAttributeController;
import main.java.ERMDE.models.Attribute;
import main.java.ERMDE.models.AttributeType;


public interface IAttributeView {

	public void setController(IAttributeController attributeController);

	public void setAttributes(List<Attribute> attributes);

	public Object getInternalFrame();

	public String getName();

	/**
	 * @return size == 2, the first is the min cardinality and the second is the
	 *         max cardinality
	 */
	public List<String> getCardinality();

	public AttributeType getAttributeType();

	public String getExpression();

	public JPanel getFrame();
}
